#include<stdio.h>
#include<unistd.h>
#include<stdlib.h>
#include<pthread.h>

const int flag=0;
pthread_mutex_t mutex;
pthread_cond_t qready;
struct goods
{
    char name[20];
    int num;    
};
struct store
{
    struct goods gstate[3];
};
void * consumer(void * arg){
    struct goods * gptr = (struct goods *)arg;
    while(!flag){
        pthread_mutex_lock(&mutex);
        

    }
}

